package com.jingdianjichi.subject.application.convert;


import com.jingdianjichi.subject.application.dto.SubjectCategoryDTO;
import com.jingdianjichi.subject.domain.entity.SubjectCategoryBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * SubjectCategoryConverter 类
 *
 * @author 熊苏鹏1
 * @date 2025/1/30 17:19
 * @description 无
 */
@Mapper
public interface SubjectCategoryDTOConverter {
    SubjectCategoryDTOConverter INSTANCE = Mappers.getMapper(SubjectCategoryDTOConverter.class);

    SubjectCategoryBO convertCategoryDTOToBo(SubjectCategoryDTO subjectCategoryDTO);

    List<SubjectCategoryDTO> convertCategoryBoToDTOList(List<SubjectCategoryBO> subjectCategoryBOList);
}
